/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2024-01-31 11:40:03
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    //材料进场台账
    formObj: [

        {
            input: true, //是input
            label: "材料名称", //字段
            prop: "fMaterialname", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            placeholder: "请选择",
            rules: [{
                required: true,
                message: '请选择材料名称'
            }], //验证
        },
        {
            input: true, //是input
            label: "进场编号", //字段
            prop: "fEntrynumber", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '进场编号'
            }], //验证

        },
        {
            select: true, //是input
            label: "规格型号", //字段
            prop: "fSpecification", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '排序号不能为空'
            }], //验证
            options: []
        }, {
            input: true, //是input
            label: "单位", //字段
            prop: "fUnit", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '单位不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "检测频率", //字段
            prop: "fInsfrequency", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '检测频率不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "依据标准", //字段
            prop: "fBasedstandard", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用

        },
        {
            select: true, //是input
            label: "供应商", //字段
            prop: "fSuppliername", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '供应商不能为空'
            }], //验证
            options: []
        }, {
            select: true, //是input
            label: "生产厂家", //字段
            prop: "fManufacturername", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '生产厂家不能为空'
            }], //验证
            options: []
        },
        {
            input: true, //是input
            label: "批号", //字段
            prop: "fBatchnumber", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '生产厂家不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "进场数量", //字段
            prop: "fEntrynum", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        },
        {
            datePicker: true, //是input
            label: "进场日期", //字段
            prop: "fEntrydates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
        },
        {
            input: true, //是input
            label: "应检次数", //字段
            prop: "fInspectionnum", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        },
    ],
    additionalObj: [{
            label: "相关资料附件", //字段
            prop: "fFileurl", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: false,
                message: '请上传现场工作照片'
            }] //验证
        },

        {
            selectMultiple: true, //是input
            label: "项目部", //字段
            prop: "fLjusername1", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择项目部'
            }], //验证
            options: []
        },
        {
            selectMultiple: true, //是input
            label: "监理单位", //字段
            prop: "fJlusername1", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择监理单位'
            }], //验证
            options: []

        },
        {
            selectMultiple: true, //是input
            label: "业主", //字段
            prop: "fYzusername1", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择业主'
            }], //验证
            options: []
        },
        {
            textarea: true, //是input
            label: "拟用部位", //字段
            prop: "fIntendeduse", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '单位不能为空'
            }] //验证
        },
        {
            textarea: true, //是input
            label: "备注", //字段
            prop: "fNote", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '单位不能为空'
            }] //验证
        },
    ],
}